﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Admin-Duplicates.aspx.cs" Inherits="Admin_Duplicates"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="header" Runat="Server">
  Duplicate People
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" Runat="Server">
  <p>
    This will find duplicate people by matching their email address. It will then merge their fields,
    choosing the values by the following rules:<br />
    <ul>
      <li>Fields from the newer record get priority</li>
      <li>A completed field gets priority over an empty field</li>
      <li>Involvements with the lower sort order get priority</li>
    </ul>
  </p>
  <p>
    <strong>Duplicates Found:</strong><br />
    <asp:Literal ID="litDupes" runat="server"></asp:Literal>
  </p>
  <p>
    <asp:Button ID="bnFixDupes" runat="server" Text="Fix Duplicates" 
      onclick="bnFixDupes_Click" />
  </p>
</asp:Content>

